<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

// +----------------------------------------------------------------------
// | rabbitMQ配置文件
// +----------------------------------------------------------------------

use think\facade\Env;

return [

    // 服务器地址
    'host'         => Env::get('amqp.host'),

    //端口
    'port'         => Env::get('amqp.port'),

    // 资源隔离
    'virtualHost'  => Env::get('amqp.virtualHost'),

    // 用户名
    'user'  => Env::get('amqp.user'),

    // 密码
    'password'  => Env::get('amqp.password'),

    //队列名称
    'queue'   => [
        0 => 'ORDER_NOTIFY',
        1 => 'DAIFU_NOTIFY',
    ]
];
